﻿@{
    Layout = null;

    var MaterialId = ViewBag.MaterialId;

}



<input type="hidden" id="materialId" value="@MaterialId">
<table class="table table-hover table-bordered" style="text-align:center">
    <thead>

        <tr>
            @*<th width="15"><input type="checkbox" class="AllClickCheckbox"></th>*@
            <th>模块名称</th>
            <th>操作</th>
        </tr>
    </thead>
    <tbody id="ModuleList" style="display:none;" >
        <tr>
            <td style="vertical-align:middle" class="text-center" binding="{'text':'Title'}"></td>
            <td class="OperationTd">
                <a href="#" binding="{'moduleId':'ModuleId'}" onclick="$.MGJ.DiamondEdition.SelectModule(this)">选中</a>
            </td>
        </tr>
    </tbody>

</table>


<script type="text/javascript">
    $(document).ready(function () {
        var materialId = $("#materialId").val();
        $.MGJ.DiamondEdition.Ajax_GetModuleListByMaterialId(materialId)

    });



</script>

